.workTypeCardWrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 8px;

    .leftBar {
        display: flex;
        flex: 1;
        .workNatureBox {
            margin-right: 10px;
            min-width: 400px;
        }
    }
    .rigthBar {
        display: flex;
    }
    .box {
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.05);
        height: 58px;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        ul:first-child {
            text-align: left;
        }
    }
    .activeBox {
        border-color: #ffa22d;
    }

    .entry,
    .leave {
        position: relative;
        min-width: 78px;
        ul {
            width: 100%;
        }
        .iconBg {
            cursor: pointer;
            font-size: 36px;
            color: rgba(0, 0, 0, 0.05);
            position: absolute;
            z-index: 1;
            right: -4px;
            bottom: -14px;
            padding: 0;
        }
        &:hover {
            .iconBg {
                color: #ffa22d;
                opacity: 0.2;
            }
        }
    }
    .leave {
        margin-left: 10px;
    }

    .statistic {
        cursor: pointer;
        text-align: center;
        padding: 6px 16px 0;
        height: 100%;
        li:first-child {
            font-size: 12px;
            font-weight: 500;
            color: rgba(0, 0, 0, 0.45);
        }
        li:last-child {
            font-weight: bold;
            font-size: 18px;
            color: rgba(0, 0, 0, 0.65);
        }
        &:hover {
            background-color: #fffaf4;
        }
    }

    .statistic.active {
        background: rgba(255, 162, 45, 0.1);
        li:first-child,
        li:last-child {
            color: #ffa22d;
        }
    }
    :global {
        .ant-tooltip {
            max-width: 420px;
        }
    }
}

@media screen and (max-width: 1100px) {
    .workTypeCardWrapper {
        flex-wrap: wrap;
        .leftBar {
            flex-wrap: wrap;
            .workNatureBox {
                width: 100% !important;
            }
        }
    }
}
